package com.example.demo.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "wx.mp")
@Getter
@Setter
public class WechatConfig {
    private String appid;
    private String appSecret;
    private String token;
    private String aesKey;
}
